package com.example.myapplication.bean;


import androidx.databinding.ObservableBoolean;
import androidx.databinding.ObservableField;
import androidx.databinding.ObservableInt;

public class ObservableFieldUser {
    public ObservableInt age;
    public ObservableField<String> name;
    public ObservableBoolean isVisible;

    public ObservableFieldUser(int age, String name) {
        this.age = new ObservableInt(age);
        this.name = new ObservableField<>(name);
    }

    @Override
    public String toString() {
        return "" + "age=" + age.get() + ", name=" + name.get() + ", isVisible=" + isVisible + "";
    }
}
